package com.hxalex.simulationhandle.accessbilityService.command.search;

import com.hxalex.simulationhandle.accessbilityService.command.base.BaseCommand;
import com.hxalex.simulationhandle.accessbilityService.manger.SearchManger;
import com.hxalex.simulationhandle.accessbilityService.receiver.base.BaseReceiver;

/**
 * Created by hx_Alex on 2018/5/26.
 */

public class ClickWebContentCommand extends BaseCommand {
  
//    private ClickWebContentReceiver.toBackPreWebSiteListener toBackPreWebSiteListener;

    public ClickWebContentCommand(SearchManger searchManger, BaseReceiver receiver) {
        super(searchManger, receiver);
    }
//    public void setToBackPreWebSiteListener(ClickWebContentReceiver.toBackPreWebSiteListener toBackPreWebSiteListener) {
//        this.toBackPreWebSiteListener = toBackPreWebSiteListener;
//    }

  

    @Override
    public void execute() {
//       if(receiver instanceof ClickWebContentReceiver)
//       {
//           ((ClickWebContentReceiver)receiver).setToBackPreWebSiteListener(toBackPreWebSiteListener);
//           receiver.doSomething();
//       }
    }
}
